package com.ch.forum.service.impl;

import com.ch.forum.dao.SMSRecordMapper;
import com.ch.forum.model.SMSRecordModel;
import com.ch.forum.service.SMSRecordService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class SMSRecordServiceImpl implements SMSRecordService {

    @Autowired
    private SMSRecordMapper recordMapper;

    @Override
    public void addRecord(SMSRecordModel model) {
        if(model != null){
            recordMapper.addRecord(model);
        }
    }
}
